package com.wy.mybatisrepo;

import com.wy.domain.User;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {
    @Select("select * from t_user")
    List<User> findAll();

    @Select("select * from t_user")
    Page<User> findByPage();
}
